package com.dankegongyu.lib.common.widget.recyclerview.layoutmanger;

import android.content.Context;
import android.util.AttributeSet;

import com.google.android.flexbox.FlexboxLayoutManager;

/**
 * @author wupuquan
 * @version 1.0
 * @since 2018/9/8 15:46
 */
@Deprecated
public class FlexboxLayoutManagerNonScrollable extends FlexboxLayoutManager {

    public FlexboxLayoutManagerNonScrollable(Context context) {
        super(context);
    }

    public FlexboxLayoutManagerNonScrollable(Context context, int flexDirection) {
        super(context, flexDirection);
    }

    public FlexboxLayoutManagerNonScrollable(Context context, int flexDirection, int flexWrap) {
        super(context, flexDirection, flexWrap);
    }

    public FlexboxLayoutManagerNonScrollable(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
        super(context, attrs, defStyleAttr, defStyleRes);
    }

    @Override
    public boolean canScrollVertically() {
        return false;
    }

}
